<template>
<!-- 推广用户界面 -->
  <el-row :gutter="0" class="pandectBox userpromote">
    <div class="title">
      <el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal">
        <el-menu-item index="1">推广用户</el-menu-item>
      </el-menu>
    </div>
    <div class="content">
      <div class="contList">
        <el-table :data="tableData" style="width: 100%">
          <el-table-column align="center" prop="belong" label="所属" style="width:16.666%"></el-table-column>
          <el-table-column align="center" prop="username" label="用户名" style="width:16.666%"></el-table-column>
          <el-table-column align="center" prop="phone" label="手机号" style="width:16.666%"></el-table-column>
          <el-table-column align="center" prop="emily" label="邮箱" style="width:16.666%"></el-table-column>
          <el-table-column align="center" prop="registerdate" label="注册时间" style="width:16.666%"></el-table-column>
          <el-table-column align="center" prop="accounttype" label="账号类型" style="width:16.666%"></el-table-column>
        </el-table>
      </div>
    </div>
  </el-row>
</template>

<script>
export default {
  data() {
    return {
      activeIndex: "1",
      tableData: [
        {
          belong: "初级套餐",
          registerdate: "2016-05-02",
          username: "王小虎",
          emily: "1042275710@qq.com",
          accounttype: "普通客户",
          phone: "18365760643"
        },
        {
          belong: "初级套餐",
          registerdate: "2016-05-04",
          username: "王小虎",
          emily: "1042275710@qq.com",
          accounttype: "普通客户",
          phone: "18365760643"
        }
      ]
    };
  },
  methods: {}
};
</script>

<style lang="scss" scoped>
// placeholder的颜色

.clearfix:after {
  display: block;
  clear: both;
  contain: "";
}
.userpromote {
  position: absolute;
  bottom: 60px;
  top: 85px;
  left: 192px;
  right: 125px;
  min-height: 720px;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  .title {
    margin-bottom: 18px;
    .el-menu-item {
      height: 48px;
      line-height: 48px;
      padding: 0;
      margin-left: 20px;
    }
  }
  .content {
    padding: 0 38px 0 10px;
    .contList {
      min-height: 490px;
      background: rgba(255, 255, 255, 1);
      border: 1px solid rgba(235, 238, 245, 1);
    }
  }
}
</style>

<style lang="scss">
.userpromote {
  .contList .el-table::before {
    background: none;
  }
  .el-table__body {
    .is-center {
      border: 0;
    }
  }
}
</style>
